//
//  CSMyOrderConfirmingCell.h
//  ProjectforHDX
//
//  Created by wusiping on 16/8/9.
//  Copyright © 2016年 H.DX. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "HideTextLable.h"

typedef void(^DetailTouchBlock)(NSString *text);

typedef void(^RMADetailTouchBlock)(NSString *text);


typedef void(^TakeBlock)(NSInteger state);

@interface CSMyOrderConfirmingCell : UITableViewCell


@property(nonatomic,strong) UIView *cellContentView;

/**
 *  故障件数，一线备件数
 */
@property (nonatomic, strong) RZCustomLable *NumOfGoodsLab;

/**
 *  序号
 */
@property (nonatomic, strong) RZCustomLable *NumLab;

/**
 *  标题(故障件信息)
 */
@property (nonatomic, strong) RZCustomLable *titleLabel;

/**
 *  取件提醒按钮
 */
@property (nonatomic, strong) RZCustomButtom *takeButton;
/**
 *  保存上传的取件信息
 */
@property (nonatomic, strong) NSMutableDictionary *takeDic;

/**
 *  选择的哪个故障件信息
 */
@property (nonatomic, assign) long row;

/**
 *  RMA
 */
@property (nonatomic, strong) HideTextLable *RMALab;


/**
 *  板件名
 */
@property (nonatomic, strong) RZCustomLable *nameLab;


/**
 *  板件号
 */
@property (nonatomic, strong) RZCustomLable *codeLab;

/**
 *  按钮
 */
@property (nonatomic, strong) RZCustomButtom *promptBtn;


/**
 *  板件版本
 */
@property (nonatomic, strong) RZCustomLable *vsLab;


/**
 *  板件序列号
 */
@property (nonatomic, strong) RZCustomLable *snLab;

/**
 *  数量
 */
@property (nonatomic, strong) RZCustomLable *countLab;

/**
 *  货权
 */
@property (nonatomic, strong) RZCustomLable *goodWeightLab;

/**
 *  故障描述
 */
@property (nonatomic, strong) HideTextLable *troubleDescribleLab;

/**
 *  站名
 */
@property (nonatomic, strong) RZCustomLable *stationNameLab;
/**
 *  站ID(siteID)
 */
@property (nonatomic, strong) RZCustomLable *siteIDLab;


/**
 *  副标题（使用了一线备件）
 */
@property (nonatomic, strong) RZCustomLable *subTitleLab;

/**
 *  板件名(一线备件)
 */
@property (nonatomic, strong) RZCustomLable *subNameLab;

/**
 *  板件号（一线备件）
 */
@property (nonatomic, strong) RZCustomLable *subCodeLab;

/**
 *  板件版本(一线备件)
 */
@property (nonatomic, strong) RZCustomLable *subVsLab;


/**
 *  板件序列号(一线备件)
 */
@property (nonatomic, strong) RZCustomLable *subSnLab;


/**
 *  分割线 横的
 */
@property (nonatomic, strong) RZCustomLable *separateLab;

/**
 *  分割线 竖着的
 */
@property (nonatomic, strong) RZCustomLable *uprightSeparateLab;


/**
 *  是否同时取件
 */
@property (nonatomic, strong) RZCustomLable *isSameTimeLab;

/**
 *  备注
 */
@property (nonatomic, strong) RZCustomLable *remarkLab;



#pragma mark 好件信息

/**
 *  好件收到时间
 */
@property (nonatomic, strong) RZCustomLable *receiveGoodPartTime;
/**
 *  好件信息
 */
@property (nonatomic, strong) RZCustomLable *goodTitleLab;
/**
 *  好件板件名称
 */
@property (nonatomic, strong) RZCustomLable *goodNameLab;
/**
 *  好件板件号
 */
@property (nonatomic, strong) RZCustomLable *goodCodeLab;

/**
 *  好件版本号
 */
@property (nonatomic, strong) RZCustomLable *goodVsLab;
/**
 *  好件序列号
 */
@property (nonatomic, strong) RZCustomLable *goodSnLab;

/**
 *  好件数量
 */
@property (nonatomic, strong) RZCustomLable *goodNumber;
/**
 *  cell数据
 */
@property (nonatomic,strong) NSDictionary *data;


/**
 *  表示第几个cell
 */
@property (nonatomic,assign) long index;

/**
 * 1 备件管理订单  2备件替换订单
 */
@property (nonatomic ,assign) NSInteger type;

@property (nonatomic, strong) TakeBlock takeBlock;

-(CGFloat)createStepView;

- (void)describleLableClick:(DetailTouchBlock)block;

- (void)RMALableClick:(RMADetailTouchBlock)block;

- (void)setData:(NSDictionary *)data andOrderStatus:(NSDictionary *)orderStatusDict ;

@end
